<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<title>体育器材管理系统  </title>
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" src="doAjax.js"></script>

<script type="text/javascript">
	
	function sendform(){
		
		var cateName = document.getElementById("cateName");
		var text = cateName.value;
		var url = "ManageCate?cateName="+text;
		
		
		sendRequest(url,true);
	}
	
</script>

</head>
<body  onload="sendRequest('CateList',false);">
<div id="wrapper">
	<div id="page">
		<div id="page-bgtop">
			<div id="page-bgbtm">
				<div id="content">
					<div class="post">
						<h2 class="title"><a href="#">新建器材类别</a></h2>
						
						<div style="clear: both;">&nbsp;</div>
						<div class="entry" style="font-size:13px;font-family:"Microsoft Yahei">
						 <form  method="get" >
								<p>类别名字：<input type="text" id="cateName" name="cateName"></p>
								<input type="submit" value="确定" onclick="sendform()"/>
						 </form>
							<hr>
						   <div id="form1"  >
						    
						   </div>
						   <div>
						   注意：由于此表和equipToCate表有外键关系，所有某些数据项可能会删除失败！<p>
						       此外由于此表主键为ID,且我们没有在新建器材类时进行验证，所以您是可以重复建同一个名字的类别的，不过ID则是不同的。
						   </div>
						</div>
					</div>
					
					
					
					<div style="clear: both;">&nbsp;</div>
				</div>
				<!-- end #content -->
				<div id="sidebar">
					<div id="logo">
						<h1><a href=“#">体育器材 </a></h1>
						<p>管理系统</p>
					</div>
					<div id="menu">
						<ul>
							<li ><a href="back_home.html">后台主页</a></li>						
							<li><a href="manageEquip.html">管理器材信息</a></li>
							<li class="current_page_item"><a href="manageCate.html">管理器材类别</a></li>
							<li ><a href="manageUser.html">用户管理</a></li>
							
						</ul>
					</div>
					
				</div>
				<!-- end #sidebar -->
				<div style="clear: both;">&nbsp;</div>
			</div>
		</div>
	</div>
	<!-- end #page -->
</div>
<div id="footer">
	
	<p>Copyright (c)赵峻伟、赵航、王超、张泽峰  All rights reserved. </p>

</div>
<!-- end #footer -->
</body>
</html>
